package DP.decoration.school.decorator.impl;

import DP.decoration.school.component.SchoolReport;
import DP.decoration.school.decorator.Decorator;

/**
 * @author msi
 */
public class SortDecorator extends Decorator {

    public SortDecorator(SchoolReport schoolReport) {
        super(schoolReport);
    }

    private void reportSort(){
        System.out.println("排名。。。");
    }

    @Override
    public void report() {
        super.report();
        this.reportSort();
    }
}
